package com.shz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.shz.dto.MyAnswer;
import com.shz.dto.MyAnswerList;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author shz
 * @since 2024-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Records implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "做题记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "题目随机题库id列表")
    private String nums;
    @ApiModelProperty(value = "题目随机题库id列表返回列表格式")
    @TableField(exist = false)
    private List<Integer> numsRes;
    @ApiModelProperty(value = "题目随机列表")
    private Integer uid;
    @ApiModelProperty(value = "开始做题时间")
    private Date startTime;
    @ApiModelProperty(value = "结束做题时间")
    private Date endTime;
    @ApiModelProperty(value = "错题题库列表(选择题为题库id，填空题为答案)")
    private String errorList;
    @ApiModelProperty(value = "题库列表")
    @TableField(exist = false)
    private List<Questions> questionsList;

    @ApiModelProperty(value = "错题题库列表返回列表格式")
    @TableField(exist = false)
    private List<MyAnswer> errorListRes;
    @ApiModelProperty(value = "(10个）选择题传选项string类型id,填空题传值就可以单选多选填空应传入[['23'],['23,'45'],['sdfdss','sdfdf]...]")
    @TableField(exist = false)
    private List<List<String>> myAnswers;

}
